package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart> {


    ShoppingCart getAdd(ShoppingCart shoppingCart);

    List<ShoppingCart> getShoppingCartByUid(Long currentId);
    void cleanShoppingCat(Long currentId);

    ShoppingCart reduceToShoppingCat(ShoppingCart shoppingCart);
}
